home *** CD-ROM | disk | FTP | other *** search
- /* System-dependent definitions of various files, spool directories, etc */
- #include "global.h"
- #if (defined(LATTICE) || defined(MAC))
- /* These compilers require special open modes when reading binary files
- *
- * "The single most brilliant design decision in all of UNIX was the
- * choice of a SINGLE character as the end-of-line indicator" -- M. O'Dell
- *
- * "Whoever picked the end-of-line conventions for MS-DOS and the Macintosh
- * should be shot!" -- P. Karn's corollary to O'Dells' declaration
- *
- * Index definitions for this array are in global.h
- */
- char *binmode[] = {
- "rb", /* Read binary */
- "wb" /* Write binary */
- };
- #else
- /* fopen modes for binary files under Aztec -- same as UNIX */
- char *binmode[] = {
- "r", /* Read */
- "w" /* Write */
- };
- #endif
-
- #ifdef MSDOS
- char startup[] = "/autoexec.net"; /* Initialization file */
- char userfile[] = "/ftpusers"; /* Authorized FTP users and passwords */
- char hosts[] = "/hosts.net"; /* Network host table */
- char mailspool[] = "/spool/mail"; /* Incoming mail */
- char mailqdir[] = "/spool/mqueue"; /* Outgoing mail spool */
- char mailqueue[] = "/spool/mqueue/*.wrk"; /* Outgoing mail work files */
- char routeqdir[] = "/spool/rqueue"; /* queue for router */
- #endif
-
- #ifdef UNIX
- char startup[] = "./startup.net"; /* Initialization file */
- char config[] = "./config.net"; /* Device configuration list */
- char userfile[] = "./ftpusers";
- char hosts[] = "./hosts.net";
- char mailspool[] = "/usr/spool/mail";
- char mailqdir[] = "/usr/spool/mqueue";
- char mailqueue[] = "/usr/spool/mqueue/*.wrk";
- char routeqdir[] = "/spool/rqueue"; /* queue for router */
- #endif
-
- #ifdef AMIGA
- char startup[] = "TCPIP:net.start";
- char config[] = "TCPIP:config.net"; /* Device configuration list */
- char userfile[] = "TCPIP:ftpusers";
- char hosts[] = "TCPIP:hosts.net";
- char mailspool[] = "TCPIP:spool/mail";
- char mailqdir[] = "TCPIP:spool/mqueue";
- char mailqueue[] = "TCPIP:spool/mqueue/*.wrk";
- char routeqdir[] = "TCPIP:spool/rqueue"; /* queue for router */
- #endif
-
- #ifdef MAC
- char startup[] ="This line will be overwritten by the mac stuff. MAX LINE";
- char config[] = "This line will be overwritten by the mac stuff. MAX LINE";
- char userfile[] = "This line will be overwritten by the mac stuff. MAX LINE";
- char hosts[] = "This line will be overwritten by the mac stuff. MAX LINE";
- char mailspool[] = "This line will be overwritten by the mac stuff. MAX LINE";
- char mailqdir[] = "This line will be overwritten by the mac stuff. MAX LINE";
- char mailqueue[] = "This line will be overwritten by the mac stuff. MAX LINE";
- char baddir[] = "This line will be overwritten by the mac stuff. MAX LINE";
- char bmrc[] = "This line will be overwritten by the mac stuff. MAX LINE"; /* mail startup */
- char routeqdir[] = "This line will be overwritten by the mac stuff. MAX LINE"; /* mail startup */
- #endif
-